package com.example.juc.single;
// 饿汉式
public class Hugry {

    private Hugry(){

    }

    private final static Hugry hugry = new Hugry();


    public Hugry getInstance(){
        return  hugry;
    }
}
